SB_Elder Impulse SystemThe strategy is based on LazyBear's Elder Impulse System
Strategy(in layman terms):
Long:                                          When the green bar in the Elder Impulse System's indicator shows up
Short:                                         When the red bar in the Elder Impulse System's indicator shows up
Close trade/Profit booking:          When the blue bar in the Elder Impulse System's indicator shows up  
Original Idea:
Message in the script if you think of any modifications/ enhancements. 
Donations/Tips... :) - 
BTC: 1BjswGcRR6c23pka7qh5t5k56j46cuyyy2 
ETH: 0x64fed71c9d6c931639c7ba4671aeb6b05e6b3781 
LTC: LKT2ykQ8QSzzfTDB6Tnsf12xwYPjgq95h4
Cari dalam skrip untuk "the script"
SB_CM_RSI_2_Strategy_Version 2.0(New: Profit booking present which is not present in the previous indicator) 
The strategy is based on the indicator posted by @ChrisMoody "CM RSI-2 Strategy Lower Indicator" which is based on "Larry Connors RSI-2 Strategy - Lower RSI" 
In this strategy, the longs are placed when a green color is encountered in the rsi in the previous candle and short when the red color is encountered in the rsi. 
Although the profits are booked when the rsi crossover the 10 level mark or crossunder the 90 level mark.
 
Just message in the script if you have any different idea regarding this indicator. 
For the original indicator you can refer to : 
For Tips to continue :) - 
BTC: 1BjswGcRR6c23pka7qh5t5k56j46cuyyy2 
ETH: 0x64fed71c9d6c931639c7ba4671aeb6b05e6b3781 
LTC: LKT2ykQ8QSzzfTDB6Tnsf12xwYPjgq95h4
SB_CM_RSI_2_Strategy_Version 1.0The strategy is based on the indicator posted by @ChrisMoody "CM RSI-2 Strategy Lower Indicator" which is based on "Larry Connors RSI-2 Strategy - Lower RSI"
In this strategy the longs are placed when a green color is encountered in the rsi and short when red color is encountered in the rsi. 
Although the profits can be booked at different interval. 
Just message in the script if you have any different idea regarding this indicator.
For the original indicator you can refer to :
For Tips to continue :) :
BTC:    1BjswGcRR6c23pka7qh5t5k56j46cuyyy2
ETH:    0x64fed71c9d6c931639c7ba4671aeb6b05e6b3781
LTC:    LKT2ykQ8QSzzfTDB6Tnsf12xwYPjgq95h4
Updated TurtlesThis script has been updated to prevent double orders (short/long) from occurring and modifying backtests results.
This is an update to the script that was written a few years ago to prevent double longs/shorts from occurring and skewin backtesting results. Check out the updated indicator here and let me know what you think.
I also added:
- date range inputs if you want to do some backtesting on a particular set of dates.
- the ability to toggle shorting
[Tutorial][RS]Working with ordersa small tutorial to explain how to work with orders, comments in the script.
Another Millionaire toolBack with another Millionaire tool script, put like a solid 12 minutes here curve fitting the moving averages. THIS WILL MAKE YOU A MILLIONAIRE. It is so easy, it makes one of the hardest industries very very easy. Works on any market. I'VE DECIDED TO SHARE THE SCRIPT AND MAKE IT PUBLIC SO WE CAN ALL BE RICH TOGETHER, MILLIONAIRES
Understanding order sizestype: properties manipulation, no programming needed
time required: 15minutes, at least
level: medium (need to know contracts, trading pairs)
A strategy can "appear" to work or be broken depending on the pile of cash that is working on. This amount is defined in the strat properties, under "order size". 
For noobs (like me) this is very confusing at first  :)
A strat opens/closes positions using units, a generic measure for the chart being operated on. Thes "units" can be a fixed amount of cash, a fixed amount of contracts, or a floating amount based on the last profits made. I recommend  checking my previous strat to figure the case of contracts  .
So, any trading price is the amount of "things" you get for some "cash". The things are the first unit, the "cash" is the second. Some examples: 
XAU/USD - 1 xau oz is worth x dollars
BTC/USD - 1 bitcoin is worth x dollars
GBP/EUR - 1 pound is worth x euros
To add to confusion, a lot of markets the "unit size" is different from what the strat thinks it is. An options contract is 100 shares(the unit), 1 xau contract is 10 oz(units), 1 eur/usd contract is 100k euros and so on... so, after figuring out how the sizes work in a strat, then the sizes must be adapted for the specific market in question. 
The choice os using the ETHUSD pair is because:
1 - you can buy 1eth, unlike a gold contract for example, so 1 "unit" = 1 eth, easier to get
2 - ETH is around 12 bucks, wich gives round numbers on the math, easier to wrap the brains around :)
3- is an unusual pair, so the regular contract sizes don't apply, and the brain is not conditioned to work inside the box ;)
You will have to access the script properties,  to change the values. As these values are changed you will see exactly the differences in the values of the strat. 
Text is too long, check the comments for all the cases
BarUpDn time limitedtrying to understand strategies, it appears that there is a lot of black magic in how a strat works behind the scenes. 
anyway, it's hard to analyse what's all the data with one gazillion entries, and i wanted to know how we can manipulate/do stuff with a chart. 
so, i needed to know how to "give" the script my values to work on. bundled two wants/needs into one, and created a script that only applies a strategy from the date given onwards. 
how to use:
at the chart, go to the "format" little button, then the input tab, and there is all the date fields i created. fun to set it to the current date, then start going backwards and see all the little arrows filing up the chart :)
Parabolic SAR Strategy with MACD Confirmation & Trend Zone Highl📝 Description (SEO + Follower-Friendly):
🚀 Powerful Trend Strategy Using Parabolic SAR + MACD
This advanced Pine Script combines the classic Parabolic SAR trend-following system with MACD crossover confirmation, improving entry precision and filtering out false signals. The script also features:
✅ Dynamic trend zone background highlighting when SAR is below price
✅ MACD filter ensures trades align with market momentum
✅ Custom SAR logic with adaptive acceleration
✅ Clean visual SAR plots for easy trend tracking
✅ Fully backtestable with strategy.entry logic
🔎 Ideal for traders seeking early trend entries, momentum confirmation, and visual clarity.
📈 Works on all timeframes and pairs — perfect for swing traders, scalpers, and crypto enthusiasts.
💡 Use it as a base strategy or combine with your favorite indicators.
❤️ If you find this helpful, don't forget to like, comment, and follow for more premium strategies!
Backtest [OptAlgo]This backtest script is designed to convert ideas or indicators into backtest results. The script creates buy/sell signals by comparing price sources against fixed values or other imported plots using many comparison methods. It has many features including multiple exit systems: TP/SL, custom plot-based stops and more. It supports full trading automation through webhook alerts with live signal processing.
 🔢 Signal Creation System 
    →  Values Group : Compare price sources against fixed numerical values  
    →  Plots Group : Compare two different price sources/indicators against each other  
    →  Flexible Comparisons : 15+ comparison methods (equal, crossover, rising...)
    →  Signal Types : Long, Short, Close All, Block signals, and combination signals  
    →  Merge Rules : Minimum condition requirements for signal activation
 🔀 Advanced Signal Logic 
    →  Counter Signals : Choose between reversing positions or closing them  
    →  Signal Inversion : Flip all buy/sell signals with one toggle  
    →  External Signal Import : Import coded signals (1=Long, -1=Short, 0=Close)  
    →  Day Blocker : Enable/disable trading on specific weekdays  
    →  Session Control : Limit trading to specific market sessions
 ⚙️ Strategy Settings 
    →  Position Sides : All Ways, Long Only, or Short Only modes  
    →  Signal Control : Individual enable/disable for long and short signals  
    →  Counter Signal Mode : Reverse Open Position vs Close Open Position  
    →  Signal Reversal : Global signal inversion capability
 🔰 Risk Management (Limiter Settings) 
    →  Leverage Control : Leverage with liquidation warnings  
    →  Drawdown Limit : Auto-halt strategy at specified drawdown percentage  
    →  Tradable Ratio : Use portion of available balance (0.01-1.0)  
    →  Contract Limit : Cap maximum contract size regardless of balance
 🎯 TP/SL System 
    →  Fixed TP/SL : Set percentage-based take profit and stop loss  
    →  Custom Plot Stops : Use any indicator/plot as dynamic stop loss  
    →  ATR-Based Exits : Volatility-adjusted TP/SL using Average True Range  
    →  Realistic Protection : Prevents unrealistic TP/SL prices in live trading  
    →  Stop Modes : Instant (Sudden) vs Candle Close execution
    →  ATR Stop Loss : Override fixed SL with volatility-based calculations  
    →  ATR Take Profit : Dynamic TP based on market volatility  
    →  Trailing Options : Safe, Normal, or Aggressive trailing methods  
    →  Calculation Modes : Normal, Volume-weighted, or Limited (with max %) options  
    →  Volume Integration : ATR levels adjust based on volume influx
 🤖 Automation & Alerts 
    →  Webhook Integration : Send JSON alerts for automated execution  
    →  Live Signals : Real-time signal processing (every tick vs bar close)  
    →  Strategy Key : Unique identifier for automated systems  
    →  Early Entry : Send alerts X seconds before candle close  
    →  Fast Execution : Prevent signal lag in automated trading
 🐞 Development Tools 
    →  Alert Plotting : Visualize signals directly on chart (disable for live alerts)  
    →  Professional Mode : Remove UI controls for faster calculation  
    →  Debug : Metrics are plotted in data window.
 📊 Key Advantages 
    →  Multi-Condition Logic : Combine multiple indicators with flexible rules  
    →  Risk-First Design : Built-in drawdown and leverage protection  
    →  Automation Ready : Full webhook and alert system integration  
 ⚠️ Important Warnings 
    → High leverage combined with high SL may adjust to liquidation price  
    → Use consistent leverage across all strategies on same trading isolated margin pair
    → Live signals require "Calculate on every tick" enabled in settings  
    → Disable alert plotting when creating actual alerts to prevent latency
SPXL Futures Strategy- Buy/sell signals for SPXL using futures momentum. 
- For real-time signals at close, use ES1! on 2 minute chart and sign up for real-time cboe mini futures data feed in tradingview. 
- All buys and sells are at near close of US RTH market at 4pm. 
- Best to use the script with other breadth signals to decide on trading strategy.
- Script is compatible with SPY, SPXL, RSP, QQQ, TQQQ and many other SPX correlated tickers, however it’s primarily developed for SPX.
VGrego - Triple Regression StrategyI developed this strategy with perpetual contracts like the ones offered by Bitmex and FTX for Bitcoin.
This script uses complex regressions to analyze past, present and future to place long calls.
The script performs well on 1H charts on most perpetual contracts scenario.
MarketCipher B Backtest (FOR TESTING ONLY, NOT SAFE TO TRADE)A script to backtest the strategy outlined. This is not a final version of the script and is therefore not safe to trade. If you choose to ignore this warning, trade at your own risk.
Ema BacktesterA simple, but useful script for backtesting purposes. Find the optimal Settings for your strategy.
tips are always welcome at: 38uGQJDDZDL6wX48x4gYTccPeQ3ZHVYmY4 (btc)
I hope you enjoy the script :)
Trending CMF MultiTimeFrame - Strategythis is the strategy for the script below
Multi time frame crypto trader
 
Bitmex Bot 5m candlesThis script was made for our customers to test the strategies of our Bitmex Bot. 
I'm not going to give you permission to use the Script, only if you become our client.
Telegram @rmgslash
BitMex Trailing Stop StrategyThis script is designed for those who want to use BitMex's trailing stop. It's not meant to be used as entry exits, but rather to get an idea of how wide the trailing stop needs to be. I suggest you backtest with different values.  The script can also be integrated into an existing strategy which does give entry/exits to act as its stop loss.
LFH/ Long positions using MACD histogram, long EMA and short EMADisclaimer: I'm a noob.
Hey there!
I'm trying to implement a script which enter market long position when long EMA crossover short EMA and MACD histogram is positive and histogram at T time is lesser than histogram at T-1.
And when short EMA crossover long EMA, plus MACD histogram is negative and histogram at T is greater than histogram at T-1, I want the script to exit market long position.
Now, I have something pretty close to what I am looking for. What I am missing and can't figure out yet is:
 
  How to moderate entries, ie. I would like it to enter positions when trends are really interesting not just every time the conditions are fulfilled (same for exits) as there is way too much positions 
  I need to find a way to exit appropriated positions.
AMF PG Consensus Engine v3.5AMF PG Consensus Engine v3.5
1. Core Philosophy: A Multi-Stage Confirmation System for High-Probability Signals
In the world of automated trading, the real challenge isn't generating signals, but filtering out the noise. The AMF PG Consensus Engine is designed to address this challenge. It operates on a simple yet powerful philosophy: a buy or sell signal is valid only if it receives confirmation from multiple, independent analysis modules.
This strategy isn't a "black box." It's a transparent, rules-based framework that transforms market momentum and momentum into a final consensus and then directs a core trend-following engine. The goal is to avoid trading in adverse market conditions and only act when the different analysis layers agree.
2. How the Consensus Engine Works: Two Confirmation Layers
Before the core engine is allowed to seek a trade, the market must go through a two-stage "confirmation" process. Both filters can be enabled or disabled from the settings, allowing users to customize the strategy's stringency level.
Confirmation Module 1: Renko Regime Filter
This module's purpose is to answer a critical question: "Is the market currently in a stable, directional trend, or is it volatile and unstable?" Instead of standard indicators, it creates a timeless Renko chart in the background. A trend is confirmed only if a minimum number of consecutive Renko bricks form in the same direction. This method is extremely effective at filtering out noisy, sideways price movements, which are often unsuccessful for trend-following systems. The brick size can be set to a fixed value or automatically calculated based on the Average True Range (ATR) for better fit.
Confirmation Module 2: Candle Scoring Engine
This module analyzes the raw strength of price action by scoring each candle individually. It evaluates the candle's direction, body size relative to the previous candle, and the change in closing price. These factors are converted into a score for each bar. A cumulative score is then calculated over a user-defined period. A buy trade is only confirmed if this cumulative momentum score exceeds a positive threshold, indicating sustained buying pressure. Conversely, a sell trade requires the score to fall below a negative threshold, indicating sustained selling pressure.
3. Core Engine: AMF PG Trend Follower
When both confirmation modules give the "green light" for a specific direction (e.g., buy), the core AMF PG (Praetorian Guard) engine is activated. This is a proprietary, volatility-sensitive trend-following mechanism.
It calculates a dynamic upper and lower band around the price. These bands are not static; their distance from the price is constantly adjusted based on recent market volatility and price expansion. A trade is initiated when the price breaks out of these bands in the direction confirmed by the consensus engine. The opposing band then serves as the initial trailing stop-loss, adjusted as the trend progresses.
4. Embedded Filters for Additional Security
To further enhance signal quality, the core engine has several embedded filters that are always active and cannot be disabled by the user:
Trend Strength Filter: To confirm that a trend has sufficient strength, a trade will not be initiated unless the ADX (Average Directional Index) is above a certain threshold.
Sideways Market Filter: The Chop Index is used to prevent trading in extremely sideways and directionless markets.
5. Risk Management: Maximum Drawdown Protection
A key feature of this strategy is its built-in capital protection mechanism. Users can set a maximum capital drawdown limit of a percentage. If the strategy's capital falls by this percentage from its peak, the "DD Protect" feature is activated, closing all open positions and preventing new trades from being opened. This acts as a final emergency brake to protect capital during unpredictable market conditions or underperformance of the strategy.
6. Automation-Ready: Customizable Webhook Alerts
This strategy was developed for modern investors looking to automate their trading. Instead of generic alert messages, you can define your own custom alert text directly from the script's settings.
This feature is particularly powerful for connecting to third-party automation services via Webhooks. You can configure the alert message in the JSON format required by your service (such as {"action": "buy", "symbol": "{{ticker}}"}). This allows you to seamlessly connect your strategy signals directly to your trading account.
7. Strategy Backtest Information
Please remember that past performance is not indicative of future results. The published chart and performance report were generated on the 4-hour timeframe of the BTC/USD pair with the following settings:
Test Period: January 1, 2016 - October 31, 2025
Default Position Size: 15% of Capital
Pyramiding: Closed
Commission: 0.0008
Slippage: 2 ticks (Please enter the slippage you used in your own tests)
Testing Approach: The published test includes 799 trades and is statistically significant. It is strongly recommended that you test on different assets and timeframes for your own analysis. The default settings are a template and should be adjusted by the user for their own analysis.
ORBSMMAATRVOLREENTRY2Contracts📈 Opening Range Fibonacci Breakout (TradingView Strategy)
Overview:
The Opening Range Fibonacci Breakout strategy is designed to capture high-probability intraday moves by combining the power of the 15-minute opening range, trend confirmation via SMMA, and volume-based momentum filtering.
At the start of each trading session, the script automatically plots the Opening Range Box based on the first 15 minutes of price action — highlighting key intraday support and resistance levels.
How It Works:
Opening Range Setup
The first 15 minutes of the session define the range high and low.
A visual box marks this zone on the chart for easy reference.
Signal Generation
A Smoothed Moving Average (SMMA) with a user-defined period determines overall trend bias.
Candle volume is analyzed to confirm momentum strength.
Long Signal: Price breaks above the opening range high, SMMA trending up, and volume supports the move.
Short Signal: Price breaks below the opening range low, SMMA trending down, and volume supports the move.
Take Profit & Targets
Fibonacci extension levels are automatically plotted from the opening range.
These dynamic levels serve as structured Take Profit (TP) zones for partial or full exits.
Features:
✅ 15-Minute Opening Range Box
✅ Adjustable SMMA period
✅ Volume-based confirmation filter
✅ Automatic Fibonacci profit targets
✅ Visual Long/Short alerts & signals
Ideal For:
Scalpers and intraday traders who rely on early-session momentum, breakout confirmation, and precision exit targets.
Backtested for MNQ/NQ futures trading
Gold H1 Breakout Failure (V11.0)This strategy is designed for trading XAU/USD (Gold) on the 1-hour timeframe. It identifies and trades fake breakouts of the Asian session range.
The logic is simple yet effective:
The script first marks the Asian session high and low.
Once price breaks out of this range and closes outside, it waits for confirmation by watching for price to close back inside the range.
When this re-entry occurs, the strategy takes a position in the opposite direction of the initial breakout, anticipating a false breakout or liquidity trap setup.
By focusing on these fakeouts, the strategy aims to capture reversal momentum after liquidity sweeps, making it especially effective during sessions when volatility transitions from Asia to London or New York.
NLR-ADX Divergence Strategy Triple-ConfirmedHow it works 
 
 Builds a cleaner DMI/ADX
 
 
 Recomputes classic +DI, −DI, ADX over a user-set length.
 Then “non-linear regresses” each series toward a mean (your choice: dynamic EMA of the series or a fixed Static Mid like 50).
 The further a value is from the mean, the stronger the pull (controlled by alphaMin/alphaMax and the γ exponent), giving smoother, more stable DI/ADX lines with less whipsaw.
 Optional EMA smoothing on top of that.
 Lock in values at confirmed pivots
 Uses price pivots (left/right bars) to confirm swing lows and highs.
 When a pivot confirms, the script captures (“freezes”) the current +DI, −DI, and ADX values at that bar and stores them. This avoids later drift from smoothing/EMAs.
 
 Check for triple divergence
 
 
 For a bullish setup (potential long):
 Price makes a Lower Low vs. a prior pivot low,
 +DI is higher than before (bulls quietly stronger),
 −DI is lower (bears weakening),
 ADX is lower (trend fatigue).
 
 For a bearish setup (potential short)
 
 
 Price makes a Higher High,
 +DI is lower, −DI is higher,
 ADX is lower.
 Adds a “no-intersection” sanity check: between the two pivots, the live series shouldn’t snake across the straight line connecting endpoints. This filters messy, low-quality structures.
 
 Trade logic
 
 
 On a valid triple-confirm, places a strategy.entry (Long for bullish, Short for bearish) and optionally labels the bar (BUY or SELL with +DI/−DI/ADX arrows).
 Simple flip behavior: if you’re long and a new short signal prints (or vice versa), it closes the open side and flips.
 
 
 Key inputs you can tweak
 
 
 Custom DMI Settings
 DMI Length — base length for DI/ADX.
 Non-Linear Regression Model
 Mean Reference — EMA(series) (dynamic) or Static mid (e.g., 50).
 Dynamic Mean Length & Deviation Scale Length — govern the mean and scale used for regression.
 Min/Max Regression & Non-Linearity Exponent (γ) — how strongly values are pulled toward the mean (stronger when far away).
 
 Divergence Engine
 
 
 Pivot Left/Right Bars — how strict the swing confirmation is (larger = more confirmation, more delay).
 Min Bars Between Pivots — avoids comparing “near-duplicate” swings.
 Max Historical Pivots to Store — memory cap.
Vigor Micro-Trend Strategy)STRATEGY NAME: VIGOR MICRO-TREND STRATEGY (LONG ONLY)
This is a compliant description for a Closed-Source Subscription Strategy.
---
1. STRATEGY OVERVIEW AND CORE LOGIC
The Vigor Micro-Trend Strategy is an advanced, high-frequency, LONG ONLY system for short-term trends. It uses a two-tiered MA structure and dynamic risk. Configured for MAX FREQUENCY (most filters minimized).
PRIMARY ENTRY CONFLUENCE (LONG Only):
* Scalping Signal: Bullish cross of a Fast MA (13) over a Slow MA (34). User choice between standard EMA or the low-lag Kaufman Adaptive Moving Average (KAMA).
* GDC Trend Filter: EMA 50 must be above a hidden EMA 200 (bullish environment). Also enters on GDC Retests off the EMA 50.
* Session Filter: Trading limited to active hours (default UTC 12:00 to 20:00).
---
2. DYNAMIC RISK AND EXIT MANAGEMENT
* Dynamic Contract Sizing: Calculates contract size to limit loss on the initial SL to a fixed Max Risk per Trade (default $10.00$ USD), based on current ATR.
* Initial Stop Loss (SL): Tight SL based on 14-period ATR (default factor 0.5).
* Split Exits & Trailing: 50% exits at a 1R profit target; 50% managed by an ATR-based Trailing Stop Loss (TSL).
* Breakeven (BE) Lock: A BE stop is initiated once the trade is 2 ticks in profit.
* Max Bars Exit: Trades are closed if they exceed 20 bars in duration (strict scalping).
* Daily Profit Floor Protection: If closed profit reaches the $110 Profit Floor, the script will automatically exit any open trade if total P&L drops below $110 to protect gains. Trading stops if the $500 Max Daily Loss is reached.
---
3. BACKTESTING & MANDATORY DISCLOSURES
* Required Configuration: Commissions and slippage MUST be configured by the user in the Strategy Properties window.
* Trade Sample Size: The strategy must generate over 100 trades for statistically reliable results.
MANDATORY DISCLAIMER: Past performance is not necessarily indicative of future results. Trading involves substantial risk of loss. All claims of historical performance are substantiated by the backtesting results on the chart, but these results do not guarantee actual trading outcomes.






















